package com.cloudcode;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * @author yunst
 * @date 2023/4/2
 */
@Slf4j
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class SearchBootstrap {
    public static void main(String[] args) {
        try {
            SpringApplication.run(SearchBootstrap.class, args);
            log.info("启动成功");
        } catch (Exception e) {
            e.printStackTrace();
            log.error("启动失败");
        }

    }
}
